FROM python:3.9
WORKDIR /app

ADD . /app

RUN python3 -m pip config set global.index-url  https://mirrors.cloud.tencent.com/pypi/simple

RUN pip install -r requirements.txt
# RUN cd /app/gocq && nohup ./go-cqhttp_linux > nohupcmd.out 2>&1 &

CMD ["python", "bot.py"]
